//
//  CYGeRenZhuYeHeaderView.h
//  cyydt
//
//  Created by chu on 2019/1/27.
//  Copyright © 2019 chu. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef void(^ChangHeightBlock)(CGFloat bottomHeight);
typedef void(^GuanZhuBlock)(void);
typedef void(^FenSiBlock)(NSInteger tag);

@interface CYGeRenZhuYeHeaderView : UIView
@property (weak, nonatomic) IBOutlet UIView *backView;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *backViewHeightConstraint;
@property (weak, nonatomic) IBOutlet UIImageView *backImageView;
@property (weak, nonatomic) IBOutlet UIImageView *headImageView;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *headImageMarginTopConstraint;
@property (weak, nonatomic) IBOutlet UIButton *guanzhuBtn;
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
@property (weak, nonatomic) IBOutlet UIButton *typeLabel;

@property (weak, nonatomic) IBOutlet UIButton *guanzhuCountBtn;
@property (weak, nonatomic) IBOutlet UIButton *fensiCountBtn;

@property (weak, nonatomic) IBOutlet YYLabel *introLabel;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *introLabelHeightConstraint;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *bottomViewHeightConstraint;
@property (nonatomic, copy) ChangHeightBlock block;
@property (nonatomic, strong) UIImageView *stateImageView;
@property (nonatomic, copy) GuanZhuBlock guanzhuBlock;
@property (nonatomic, copy) FenSiBlock fensiBlock;

@end

NS_ASSUME_NONNULL_END
